package com.springcloud.test;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @Desc 两种路由方式，一种传统不需要接入到服务中心，一种接入到服务中心的路由
 * ----------------
 * @CLASS_NAME: ZuulApplication
 * ----------------
 * @Author jovi
 * ----------------
 * @Date 2020-03-27 11:32
 */
@EnableZuulProxy
@SpringCloudApplication
public class ZuulApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication.class, args);
    }
}
